#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
    int arr[20], x;
    for (int i = 19; i >= 0; i--)
    {
        cin >> x;
        arr[i] = x;
    }
    for (int i = 0; i < 20; i++)
    {
        printf("N[%d] = %d\n", i, arr[i]);
    }
    return 0;
}